<template>
  <!--  组件结构-->
  <div class="demo">
    <h2>学校名称：{{ schoolName }}</h2>
    <h2>学校地址：{{ schoolAddress }}</h2>
  </div>
</template>

<script>
//组件脚本
// <!--    组件-->
export default {
  name: 'School',
  data() {
    return {
      schoolName: "非常学院",
      schoolAddress: "华丽街001号",
    }
  }
};

</script>

<style scoped lang="less">
//组件样式
.demo {
  background: bisque;
}
</style>
